Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Graphql Mesh add WAF rules #1211

Merged
merged 7 commits into from
Nov 16, 2023
Merged

feat: Graphql Mesh add WAF rules #1211

merged 7 commits into from
Nov 16, 2023

Conversation

TheOrangePuff
Copy link
Contributor

Description of the proposed changes

  • Add default rate limiting rule
  • Allow passing of custom WAF rules

Notes to PR author

⚠️ Please make sure the changes adhere to the guidelines mentioned here

Notes to reviewers

🛈 When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

@TheOrangePuff TheOrangePuff changed the title GraphQL Mesh WAF rules feat: Graphql Mesh add WAF rules Nov 16, 2023
Copy link
Contributor

@krishanthisera krishanthisera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minor suggestions for further improvement:

  • We could separate waf configuration from props to a separate struct and give more control over waf configuration.
  • Let the implementation stack decide whether to enable WAF but the default is WAF enable. There could be instances that we would want to use Firewall Manager.

@TheOrangePuff
Copy link
Contributor Author

LGTM. Minor suggestions for further improvement:

* We could separate waf configuration from props to a separate struct and give more control over waf configuration.

* Let the implementation stack decide whether to enable WAF but the default is WAF enable. There could be instances that we would want to use Firewall Manager.

Yep makes sense! Happy to see this as a future improvement 🙂

@TheOrangePuff TheOrangePuff merged commit da49299 into main Nov 16, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants